package com.washmadam.service.db.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Long value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Long value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Long value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Long value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Long> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Long> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Long value1, Long value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNull() {
            addCriterion("customer_name is null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNotNull() {
            addCriterion("customer_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameEqualTo(String value) {
            addCriterion("customer_name =", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotEqualTo(String value) {
            addCriterion("customer_name <>", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThan(String value) {
            addCriterion("customer_name >", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanOrEqualTo(String value) {
            addCriterion("customer_name >=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThan(String value) {
            addCriterion("customer_name <", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanOrEqualTo(String value) {
            addCriterion("customer_name <=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLike(String value) {
            addCriterion("customer_name like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotLike(String value) {
            addCriterion("customer_name not like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIn(List<String> values) {
            addCriterion("customer_name in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotIn(List<String> values) {
            addCriterion("customer_name not in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameBetween(String value1, String value2) {
            addCriterion("customer_name between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotBetween(String value1, String value2) {
            addCriterion("customer_name not between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andContactMobileIsNull() {
            addCriterion("contact_mobile is null");
            return (Criteria) this;
        }

        public Criteria andContactMobileIsNotNull() {
            addCriterion("contact_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andContactMobileEqualTo(String value) {
            addCriterion("contact_mobile =", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotEqualTo(String value) {
            addCriterion("contact_mobile <>", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileGreaterThan(String value) {
            addCriterion("contact_mobile >", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileGreaterThanOrEqualTo(String value) {
            addCriterion("contact_mobile >=", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileLessThan(String value) {
            addCriterion("contact_mobile <", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileLessThanOrEqualTo(String value) {
            addCriterion("contact_mobile <=", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileLike(String value) {
            addCriterion("contact_mobile like", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotLike(String value) {
            addCriterion("contact_mobile not like", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileIn(List<String> values) {
            addCriterion("contact_mobile in", values, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotIn(List<String> values) {
            addCriterion("contact_mobile not in", values, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileBetween(String value1, String value2) {
            addCriterion("contact_mobile between", value1, value2, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotBetween(String value1, String value2) {
            addCriterion("contact_mobile not between", value1, value2, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileIsNull() {
            addCriterion("other_contact_mobile is null");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileIsNotNull() {
            addCriterion("other_contact_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileEqualTo(String value) {
            addCriterion("other_contact_mobile =", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileNotEqualTo(String value) {
            addCriterion("other_contact_mobile <>", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileGreaterThan(String value) {
            addCriterion("other_contact_mobile >", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileGreaterThanOrEqualTo(String value) {
            addCriterion("other_contact_mobile >=", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileLessThan(String value) {
            addCriterion("other_contact_mobile <", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileLessThanOrEqualTo(String value) {
            addCriterion("other_contact_mobile <=", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileLike(String value) {
            addCriterion("other_contact_mobile like", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileNotLike(String value) {
            addCriterion("other_contact_mobile not like", value, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileIn(List<String> values) {
            addCriterion("other_contact_mobile in", values, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileNotIn(List<String> values) {
            addCriterion("other_contact_mobile not in", values, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileBetween(String value1, String value2) {
            addCriterion("other_contact_mobile between", value1, value2, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andOtherContactMobileNotBetween(String value1, String value2) {
            addCriterion("other_contact_mobile not between", value1, value2, "otherContactMobile");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressIsNull() {
            addCriterion("customer_address is null");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressIsNotNull() {
            addCriterion("customer_address is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressEqualTo(String value) {
            addCriterion("customer_address =", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressNotEqualTo(String value) {
            addCriterion("customer_address <>", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressGreaterThan(String value) {
            addCriterion("customer_address >", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("customer_address >=", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressLessThan(String value) {
            addCriterion("customer_address <", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressLessThanOrEqualTo(String value) {
            addCriterion("customer_address <=", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressLike(String value) {
            addCriterion("customer_address like", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressNotLike(String value) {
            addCriterion("customer_address not like", value, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressIn(List<String> values) {
            addCriterion("customer_address in", values, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressNotIn(List<String> values) {
            addCriterion("customer_address not in", values, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressBetween(String value1, String value2) {
            addCriterion("customer_address between", value1, value2, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andCustomerAddressNotBetween(String value1, String value2) {
            addCriterion("customer_address not between", value1, value2, "customerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressIsNull() {
            addCriterion("all_customer_address is null");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressIsNotNull() {
            addCriterion("all_customer_address is not null");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressEqualTo(String value) {
            addCriterion("all_customer_address =", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressNotEqualTo(String value) {
            addCriterion("all_customer_address <>", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressGreaterThan(String value) {
            addCriterion("all_customer_address >", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("all_customer_address >=", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressLessThan(String value) {
            addCriterion("all_customer_address <", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressLessThanOrEqualTo(String value) {
            addCriterion("all_customer_address <=", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressLike(String value) {
            addCriterion("all_customer_address like", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressNotLike(String value) {
            addCriterion("all_customer_address not like", value, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressIn(List<String> values) {
            addCriterion("all_customer_address in", values, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressNotIn(List<String> values) {
            addCriterion("all_customer_address not in", values, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressBetween(String value1, String value2) {
            addCriterion("all_customer_address between", value1, value2, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andAllCustomerAddressNotBetween(String value1, String value2) {
            addCriterion("all_customer_address not between", value1, value2, "allCustomerAddress");
            return (Criteria) this;
        }

        public Criteria andHandleDateIsNull() {
            addCriterion("handle_date is null");
            return (Criteria) this;
        }

        public Criteria andHandleDateIsNotNull() {
            addCriterion("handle_date is not null");
            return (Criteria) this;
        }

        public Criteria andHandleDateEqualTo(Date value) {
            addCriterion("handle_date =", value, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateNotEqualTo(Date value) {
            addCriterion("handle_date <>", value, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateGreaterThan(Date value) {
            addCriterion("handle_date >", value, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateGreaterThanOrEqualTo(Date value) {
            addCriterion("handle_date >=", value, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateLessThan(Date value) {
            addCriterion("handle_date <", value, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateLessThanOrEqualTo(Date value) {
            addCriterion("handle_date <=", value, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateIn(List<Date> values) {
            addCriterion("handle_date in", values, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateNotIn(List<Date> values) {
            addCriterion("handle_date not in", values, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateBetween(Date value1, Date value2) {
            addCriterion("handle_date between", value1, value2, "handleDate");
            return (Criteria) this;
        }

        public Criteria andHandleDateNotBetween(Date value1, Date value2) {
            addCriterion("handle_date not between", value1, value2, "handleDate");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaIsNull() {
            addCriterion("customer_area is null");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaIsNotNull() {
            addCriterion("customer_area is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaEqualTo(String value) {
            addCriterion("customer_area =", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaNotEqualTo(String value) {
            addCriterion("customer_area <>", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaGreaterThan(String value) {
            addCriterion("customer_area >", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaGreaterThanOrEqualTo(String value) {
            addCriterion("customer_area >=", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaLessThan(String value) {
            addCriterion("customer_area <", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaLessThanOrEqualTo(String value) {
            addCriterion("customer_area <=", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaLike(String value) {
            addCriterion("customer_area like", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaNotLike(String value) {
            addCriterion("customer_area not like", value, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaIn(List<String> values) {
            addCriterion("customer_area in", values, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaNotIn(List<String> values) {
            addCriterion("customer_area not in", values, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaBetween(String value1, String value2) {
            addCriterion("customer_area between", value1, value2, "customerArea");
            return (Criteria) this;
        }

        public Criteria andCustomerAreaNotBetween(String value1, String value2) {
            addCriterion("customer_area not between", value1, value2, "customerArea");
            return (Criteria) this;
        }

        public Criteria andFloorBrandIsNull() {
            addCriterion("floor_brand is null");
            return (Criteria) this;
        }

        public Criteria andFloorBrandIsNotNull() {
            addCriterion("floor_brand is not null");
            return (Criteria) this;
        }

        public Criteria andFloorBrandEqualTo(String value) {
            addCriterion("floor_brand =", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandNotEqualTo(String value) {
            addCriterion("floor_brand <>", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandGreaterThan(String value) {
            addCriterion("floor_brand >", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandGreaterThanOrEqualTo(String value) {
            addCriterion("floor_brand >=", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandLessThan(String value) {
            addCriterion("floor_brand <", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandLessThanOrEqualTo(String value) {
            addCriterion("floor_brand <=", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandLike(String value) {
            addCriterion("floor_brand like", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandNotLike(String value) {
            addCriterion("floor_brand not like", value, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandIn(List<String> values) {
            addCriterion("floor_brand in", values, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandNotIn(List<String> values) {
            addCriterion("floor_brand not in", values, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandBetween(String value1, String value2) {
            addCriterion("floor_brand between", value1, value2, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andFloorBrandNotBetween(String value1, String value2) {
            addCriterion("floor_brand not between", value1, value2, "floorBrand");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNull() {
            addCriterion("card_type is null");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNotNull() {
            addCriterion("card_type is not null");
            return (Criteria) this;
        }

        public Criteria andCardTypeEqualTo(String value) {
            addCriterion("card_type =", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotEqualTo(String value) {
            addCriterion("card_type <>", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThan(String value) {
            addCriterion("card_type >", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThanOrEqualTo(String value) {
            addCriterion("card_type >=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThan(String value) {
            addCriterion("card_type <", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThanOrEqualTo(String value) {
            addCriterion("card_type <=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLike(String value) {
            addCriterion("card_type like", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotLike(String value) {
            addCriterion("card_type not like", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeIn(List<String> values) {
            addCriterion("card_type in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotIn(List<String> values) {
            addCriterion("card_type not in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeBetween(String value1, String value2) {
            addCriterion("card_type between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotBetween(String value1, String value2) {
            addCriterion("card_type not between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeIsNull() {
            addCriterion("package_type is null");
            return (Criteria) this;
        }

        public Criteria andPackageTypeIsNotNull() {
            addCriterion("package_type is not null");
            return (Criteria) this;
        }

        public Criteria andPackageTypeEqualTo(String value) {
            addCriterion("package_type =", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeNotEqualTo(String value) {
            addCriterion("package_type <>", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeGreaterThan(String value) {
            addCriterion("package_type >", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeGreaterThanOrEqualTo(String value) {
            addCriterion("package_type >=", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeLessThan(String value) {
            addCriterion("package_type <", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeLessThanOrEqualTo(String value) {
            addCriterion("package_type <=", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeLike(String value) {
            addCriterion("package_type like", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeNotLike(String value) {
            addCriterion("package_type not like", value, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeIn(List<String> values) {
            addCriterion("package_type in", values, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeNotIn(List<String> values) {
            addCriterion("package_type not in", values, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeBetween(String value1, String value2) {
            addCriterion("package_type between", value1, value2, "packageType");
            return (Criteria) this;
        }

        public Criteria andPackageTypeNotBetween(String value1, String value2) {
            addCriterion("package_type not between", value1, value2, "packageType");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIsNull() {
            addCriterion("customer_product is null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIsNotNull() {
            addCriterion("customer_product is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductEqualTo(String value) {
            addCriterion("customer_product =", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNotEqualTo(String value) {
            addCriterion("customer_product <>", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductGreaterThan(String value) {
            addCriterion("customer_product >", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductGreaterThanOrEqualTo(String value) {
            addCriterion("customer_product >=", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductLessThan(String value) {
            addCriterion("customer_product <", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductLessThanOrEqualTo(String value) {
            addCriterion("customer_product <=", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductLike(String value) {
            addCriterion("customer_product like", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNotLike(String value) {
            addCriterion("customer_product not like", value, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIn(List<String> values) {
            addCriterion("customer_product in", values, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNotIn(List<String> values) {
            addCriterion("customer_product not in", values, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductBetween(String value1, String value2) {
            addCriterion("customer_product between", value1, value2, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNotBetween(String value1, String value2) {
            addCriterion("customer_product not between", value1, value2, "customerProduct");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryIsNull() {
            addCriterion("product_delivery is null");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryIsNotNull() {
            addCriterion("product_delivery is not null");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryEqualTo(String value) {
            addCriterion("product_delivery =", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryNotEqualTo(String value) {
            addCriterion("product_delivery <>", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryGreaterThan(String value) {
            addCriterion("product_delivery >", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryGreaterThanOrEqualTo(String value) {
            addCriterion("product_delivery >=", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryLessThan(String value) {
            addCriterion("product_delivery <", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryLessThanOrEqualTo(String value) {
            addCriterion("product_delivery <=", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryLike(String value) {
            addCriterion("product_delivery like", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryNotLike(String value) {
            addCriterion("product_delivery not like", value, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryIn(List<String> values) {
            addCriterion("product_delivery in", values, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryNotIn(List<String> values) {
            addCriterion("product_delivery not in", values, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryBetween(String value1, String value2) {
            addCriterion("product_delivery between", value1, value2, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductDeliveryNotBetween(String value1, String value2) {
            addCriterion("product_delivery not between", value1, value2, "productDelivery");
            return (Criteria) this;
        }

        public Criteria andProductGiftIsNull() {
            addCriterion("product_gift is null");
            return (Criteria) this;
        }

        public Criteria andProductGiftIsNotNull() {
            addCriterion("product_gift is not null");
            return (Criteria) this;
        }

        public Criteria andProductGiftEqualTo(String value) {
            addCriterion("product_gift =", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftNotEqualTo(String value) {
            addCriterion("product_gift <>", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftGreaterThan(String value) {
            addCriterion("product_gift >", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftGreaterThanOrEqualTo(String value) {
            addCriterion("product_gift >=", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftLessThan(String value) {
            addCriterion("product_gift <", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftLessThanOrEqualTo(String value) {
            addCriterion("product_gift <=", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftLike(String value) {
            addCriterion("product_gift like", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftNotLike(String value) {
            addCriterion("product_gift not like", value, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftIn(List<String> values) {
            addCriterion("product_gift in", values, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftNotIn(List<String> values) {
            addCriterion("product_gift not in", values, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftBetween(String value1, String value2) {
            addCriterion("product_gift between", value1, value2, "productGift");
            return (Criteria) this;
        }

        public Criteria andProductGiftNotBetween(String value1, String value2) {
            addCriterion("product_gift not between", value1, value2, "productGift");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(String value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(String value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(String value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(String value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(String value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(String value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLike(String value) {
            addCriterion("price like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotLike(String value) {
            addCriterion("price not like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<String> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<String> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(String value1, String value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(String value1, String value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andServicePeriodIsNull() {
            addCriterion("service_period is null");
            return (Criteria) this;
        }

        public Criteria andServicePeriodIsNotNull() {
            addCriterion("service_period is not null");
            return (Criteria) this;
        }

        public Criteria andServicePeriodEqualTo(Integer value) {
            addCriterion("service_period =", value, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodNotEqualTo(Integer value) {
            addCriterion("service_period <>", value, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodGreaterThan(Integer value) {
            addCriterion("service_period >", value, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_period >=", value, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodLessThan(Integer value) {
            addCriterion("service_period <", value, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodLessThanOrEqualTo(Integer value) {
            addCriterion("service_period <=", value, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodIn(List<Integer> values) {
            addCriterion("service_period in", values, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodNotIn(List<Integer> values) {
            addCriterion("service_period not in", values, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodBetween(Integer value1, Integer value2) {
            addCriterion("service_period between", value1, value2, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andServicePeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("service_period not between", value1, value2, "servicePeriod");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeIsNull() {
            addCriterion("period_type is null");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeIsNotNull() {
            addCriterion("period_type is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeEqualTo(Integer value) {
            addCriterion("period_type =", value, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeNotEqualTo(Integer value) {
            addCriterion("period_type <>", value, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeGreaterThan(Integer value) {
            addCriterion("period_type >", value, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("period_type >=", value, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeLessThan(Integer value) {
            addCriterion("period_type <", value, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeLessThanOrEqualTo(Integer value) {
            addCriterion("period_type <=", value, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeIn(List<Integer> values) {
            addCriterion("period_type in", values, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeNotIn(List<Integer> values) {
            addCriterion("period_type not in", values, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeBetween(Integer value1, Integer value2) {
            addCriterion("period_type between", value1, value2, "periodType");
            return (Criteria) this;
        }

        public Criteria andPeriodTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("period_type not between", value1, value2, "periodType");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNull() {
            addCriterion("total_num is null");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNotNull() {
            addCriterion("total_num is not null");
            return (Criteria) this;
        }

        public Criteria andTotalNumEqualTo(Integer value) {
            addCriterion("total_num =", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotEqualTo(Integer value) {
            addCriterion("total_num <>", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThan(Integer value) {
            addCriterion("total_num >", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_num >=", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThan(Integer value) {
            addCriterion("total_num <", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThanOrEqualTo(Integer value) {
            addCriterion("total_num <=", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumIn(List<Integer> values) {
            addCriterion("total_num in", values, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotIn(List<Integer> values) {
            addCriterion("total_num not in", values, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumBetween(Integer value1, Integer value2) {
            addCriterion("total_num between", value1, value2, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotBetween(Integer value1, Integer value2) {
            addCriterion("total_num not between", value1, value2, "totalNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumIsNull() {
            addCriterion("current_num is null");
            return (Criteria) this;
        }

        public Criteria andCurrentNumIsNotNull() {
            addCriterion("current_num is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentNumEqualTo(Integer value) {
            addCriterion("current_num =", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumNotEqualTo(Integer value) {
            addCriterion("current_num <>", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumGreaterThan(Integer value) {
            addCriterion("current_num >", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_num >=", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumLessThan(Integer value) {
            addCriterion("current_num <", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumLessThanOrEqualTo(Integer value) {
            addCriterion("current_num <=", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumIn(List<Integer> values) {
            addCriterion("current_num in", values, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumNotIn(List<Integer> values) {
            addCriterion("current_num not in", values, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumBetween(Integer value1, Integer value2) {
            addCriterion("current_num between", value1, value2, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumNotBetween(Integer value1, Integer value2) {
            addCriterion("current_num not between", value1, value2, "currentNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumIsNull() {
            addCriterion("origin_bottle_num is null");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumIsNotNull() {
            addCriterion("origin_bottle_num is not null");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumEqualTo(String value) {
            addCriterion("origin_bottle_num =", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumNotEqualTo(String value) {
            addCriterion("origin_bottle_num <>", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumGreaterThan(String value) {
            addCriterion("origin_bottle_num >", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumGreaterThanOrEqualTo(String value) {
            addCriterion("origin_bottle_num >=", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumLessThan(String value) {
            addCriterion("origin_bottle_num <", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumLessThanOrEqualTo(String value) {
            addCriterion("origin_bottle_num <=", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumLike(String value) {
            addCriterion("origin_bottle_num like", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumNotLike(String value) {
            addCriterion("origin_bottle_num not like", value, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumIn(List<String> values) {
            addCriterion("origin_bottle_num in", values, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumNotIn(List<String> values) {
            addCriterion("origin_bottle_num not in", values, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumBetween(String value1, String value2) {
            addCriterion("origin_bottle_num between", value1, value2, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andOriginBottleNumNotBetween(String value1, String value2) {
            addCriterion("origin_bottle_num not between", value1, value2, "originBottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumIsNull() {
            addCriterion("bottle_num is null");
            return (Criteria) this;
        }

        public Criteria andBottleNumIsNotNull() {
            addCriterion("bottle_num is not null");
            return (Criteria) this;
        }

        public Criteria andBottleNumEqualTo(String value) {
            addCriterion("bottle_num =", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumNotEqualTo(String value) {
            addCriterion("bottle_num <>", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumGreaterThan(String value) {
            addCriterion("bottle_num >", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumGreaterThanOrEqualTo(String value) {
            addCriterion("bottle_num >=", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumLessThan(String value) {
            addCriterion("bottle_num <", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumLessThanOrEqualTo(String value) {
            addCriterion("bottle_num <=", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumLike(String value) {
            addCriterion("bottle_num like", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumNotLike(String value) {
            addCriterion("bottle_num not like", value, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumIn(List<String> values) {
            addCriterion("bottle_num in", values, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumNotIn(List<String> values) {
            addCriterion("bottle_num not in", values, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumBetween(String value1, String value2) {
            addCriterion("bottle_num between", value1, value2, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andBottleNumNotBetween(String value1, String value2) {
            addCriterion("bottle_num not between", value1, value2, "bottleNum");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateIsNull() {
            addCriterion("last_service_date is null");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateIsNotNull() {
            addCriterion("last_service_date is not null");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateEqualTo(Date value) {
            addCriterion("last_service_date =", value, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateNotEqualTo(Date value) {
            addCriterion("last_service_date <>", value, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateGreaterThan(Date value) {
            addCriterion("last_service_date >", value, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateGreaterThanOrEqualTo(Date value) {
            addCriterion("last_service_date >=", value, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateLessThan(Date value) {
            addCriterion("last_service_date <", value, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateLessThanOrEqualTo(Date value) {
            addCriterion("last_service_date <=", value, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateIn(List<Date> values) {
            addCriterion("last_service_date in", values, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateNotIn(List<Date> values) {
            addCriterion("last_service_date not in", values, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateBetween(Date value1, Date value2) {
            addCriterion("last_service_date between", value1, value2, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServiceDateNotBetween(Date value1, Date value2) {
            addCriterion("last_service_date not between", value1, value2, "lastServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateIsNull() {
            addCriterion("first_service_date is null");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateIsNotNull() {
            addCriterion("first_service_date is not null");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateEqualTo(Date value) {
            addCriterion("first_service_date =", value, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateNotEqualTo(Date value) {
            addCriterion("first_service_date <>", value, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateGreaterThan(Date value) {
            addCriterion("first_service_date >", value, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateGreaterThanOrEqualTo(Date value) {
            addCriterion("first_service_date >=", value, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateLessThan(Date value) {
            addCriterion("first_service_date <", value, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateLessThanOrEqualTo(Date value) {
            addCriterion("first_service_date <=", value, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateIn(List<Date> values) {
            addCriterion("first_service_date in", values, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateNotIn(List<Date> values) {
            addCriterion("first_service_date not in", values, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateBetween(Date value1, Date value2) {
            addCriterion("first_service_date between", value1, value2, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andFirstServiceDateNotBetween(Date value1, Date value2) {
            addCriterion("first_service_date not between", value1, value2, "firstServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateIsNull() {
            addCriterion("next_service_date is null");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateIsNotNull() {
            addCriterion("next_service_date is not null");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateEqualTo(Date value) {
            addCriterion("next_service_date =", value, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateNotEqualTo(Date value) {
            addCriterion("next_service_date <>", value, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateGreaterThan(Date value) {
            addCriterion("next_service_date >", value, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateGreaterThanOrEqualTo(Date value) {
            addCriterion("next_service_date >=", value, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateLessThan(Date value) {
            addCriterion("next_service_date <", value, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateLessThanOrEqualTo(Date value) {
            addCriterion("next_service_date <=", value, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateIn(List<Date> values) {
            addCriterion("next_service_date in", values, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateNotIn(List<Date> values) {
            addCriterion("next_service_date not in", values, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateBetween(Date value1, Date value2) {
            addCriterion("next_service_date between", value1, value2, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andNextServiceDateNotBetween(Date value1, Date value2) {
            addCriterion("next_service_date not between", value1, value2, "nextServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateIsNull() {
            addCriterion("end_service_date is null");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateIsNotNull() {
            addCriterion("end_service_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateEqualTo(Date value) {
            addCriterion("end_service_date =", value, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateNotEqualTo(Date value) {
            addCriterion("end_service_date <>", value, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateGreaterThan(Date value) {
            addCriterion("end_service_date >", value, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_service_date >=", value, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateLessThan(Date value) {
            addCriterion("end_service_date <", value, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateLessThanOrEqualTo(Date value) {
            addCriterion("end_service_date <=", value, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateIn(List<Date> values) {
            addCriterion("end_service_date in", values, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateNotIn(List<Date> values) {
            addCriterion("end_service_date not in", values, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateBetween(Date value1, Date value2) {
            addCriterion("end_service_date between", value1, value2, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andEndServiceDateNotBetween(Date value1, Date value2) {
            addCriterion("end_service_date not between", value1, value2, "endServiceDate");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonIsNull() {
            addCriterion("last_service_person is null");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonIsNotNull() {
            addCriterion("last_service_person is not null");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonEqualTo(String value) {
            addCriterion("last_service_person =", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonNotEqualTo(String value) {
            addCriterion("last_service_person <>", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonGreaterThan(String value) {
            addCriterion("last_service_person >", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonGreaterThanOrEqualTo(String value) {
            addCriterion("last_service_person >=", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonLessThan(String value) {
            addCriterion("last_service_person <", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonLessThanOrEqualTo(String value) {
            addCriterion("last_service_person <=", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonLike(String value) {
            addCriterion("last_service_person like", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonNotLike(String value) {
            addCriterion("last_service_person not like", value, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonIn(List<String> values) {
            addCriterion("last_service_person in", values, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonNotIn(List<String> values) {
            addCriterion("last_service_person not in", values, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonBetween(String value1, String value2) {
            addCriterion("last_service_person between", value1, value2, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andLastServicePersonNotBetween(String value1, String value2) {
            addCriterion("last_service_person not between", value1, value2, "lastServicePerson");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedIsNull() {
            addCriterion("special_need is null");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedIsNotNull() {
            addCriterion("special_need is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedEqualTo(String value) {
            addCriterion("special_need =", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedNotEqualTo(String value) {
            addCriterion("special_need <>", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedGreaterThan(String value) {
            addCriterion("special_need >", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedGreaterThanOrEqualTo(String value) {
            addCriterion("special_need >=", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedLessThan(String value) {
            addCriterion("special_need <", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedLessThanOrEqualTo(String value) {
            addCriterion("special_need <=", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedLike(String value) {
            addCriterion("special_need like", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedNotLike(String value) {
            addCriterion("special_need not like", value, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedIn(List<String> values) {
            addCriterion("special_need in", values, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedNotIn(List<String> values) {
            addCriterion("special_need not in", values, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedBetween(String value1, String value2) {
            addCriterion("special_need between", value1, value2, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andSpecialNeedNotBetween(String value1, String value2) {
            addCriterion("special_need not between", value1, value2, "specialNeed");
            return (Criteria) this;
        }

        public Criteria andHandlePersonIsNull() {
            addCriterion("handle_person is null");
            return (Criteria) this;
        }

        public Criteria andHandlePersonIsNotNull() {
            addCriterion("handle_person is not null");
            return (Criteria) this;
        }

        public Criteria andHandlePersonEqualTo(String value) {
            addCriterion("handle_person =", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonNotEqualTo(String value) {
            addCriterion("handle_person <>", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonGreaterThan(String value) {
            addCriterion("handle_person >", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonGreaterThanOrEqualTo(String value) {
            addCriterion("handle_person >=", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonLessThan(String value) {
            addCriterion("handle_person <", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonLessThanOrEqualTo(String value) {
            addCriterion("handle_person <=", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonLike(String value) {
            addCriterion("handle_person like", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonNotLike(String value) {
            addCriterion("handle_person not like", value, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonIn(List<String> values) {
            addCriterion("handle_person in", values, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonNotIn(List<String> values) {
            addCriterion("handle_person not in", values, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonBetween(String value1, String value2) {
            addCriterion("handle_person between", value1, value2, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andHandlePersonNotBetween(String value1, String value2) {
            addCriterion("handle_person not between", value1, value2, "handlePerson");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusIsNull() {
            addCriterion("renewal_status is null");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusIsNotNull() {
            addCriterion("renewal_status is not null");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusEqualTo(Integer value) {
            addCriterion("renewal_status =", value, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusNotEqualTo(Integer value) {
            addCriterion("renewal_status <>", value, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusGreaterThan(Integer value) {
            addCriterion("renewal_status >", value, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("renewal_status >=", value, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusLessThan(Integer value) {
            addCriterion("renewal_status <", value, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusLessThanOrEqualTo(Integer value) {
            addCriterion("renewal_status <=", value, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusIn(List<Integer> values) {
            addCriterion("renewal_status in", values, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusNotIn(List<Integer> values) {
            addCriterion("renewal_status not in", values, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusBetween(Integer value1, Integer value2) {
            addCriterion("renewal_status between", value1, value2, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andRenewalStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("renewal_status not between", value1, value2, "renewalStatus");
            return (Criteria) this;
        }

        public Criteria andReserveEnableIsNull() {
            addCriterion("reserve_enable is null");
            return (Criteria) this;
        }

        public Criteria andReserveEnableIsNotNull() {
            addCriterion("reserve_enable is not null");
            return (Criteria) this;
        }

        public Criteria andReserveEnableEqualTo(Integer value) {
            addCriterion("reserve_enable =", value, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableNotEqualTo(Integer value) {
            addCriterion("reserve_enable <>", value, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableGreaterThan(Integer value) {
            addCriterion("reserve_enable >", value, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableGreaterThanOrEqualTo(Integer value) {
            addCriterion("reserve_enable >=", value, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableLessThan(Integer value) {
            addCriterion("reserve_enable <", value, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableLessThanOrEqualTo(Integer value) {
            addCriterion("reserve_enable <=", value, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableIn(List<Integer> values) {
            addCriterion("reserve_enable in", values, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableNotIn(List<Integer> values) {
            addCriterion("reserve_enable not in", values, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableBetween(Integer value1, Integer value2) {
            addCriterion("reserve_enable between", value1, value2, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveEnableNotBetween(Integer value1, Integer value2) {
            addCriterion("reserve_enable not between", value1, value2, "reserveEnable");
            return (Criteria) this;
        }

        public Criteria andReserveStatusIsNull() {
            addCriterion("reserve_status is null");
            return (Criteria) this;
        }

        public Criteria andReserveStatusIsNotNull() {
            addCriterion("reserve_status is not null");
            return (Criteria) this;
        }

        public Criteria andReserveStatusEqualTo(Integer value) {
            addCriterion("reserve_status =", value, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusNotEqualTo(Integer value) {
            addCriterion("reserve_status <>", value, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusGreaterThan(Integer value) {
            addCriterion("reserve_status >", value, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("reserve_status >=", value, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusLessThan(Integer value) {
            addCriterion("reserve_status <", value, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusLessThanOrEqualTo(Integer value) {
            addCriterion("reserve_status <=", value, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusIn(List<Integer> values) {
            addCriterion("reserve_status in", values, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusNotIn(List<Integer> values) {
            addCriterion("reserve_status not in", values, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusBetween(Integer value1, Integer value2) {
            addCriterion("reserve_status between", value1, value2, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andReserveStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("reserve_status not between", value1, value2, "reserveStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}